INCLUDE_DIRECTORIES(
  ./
  ../read_video_2_0/
  /usr/local/include/opencv
  /usr/local/include/boost
  )

Link_DIRECTORIES(
  /usr/local/lib	
  )

ADD_DEFINITIONS(-DDEBUG -ggdb -O0 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)

ADD_EXECUTABLE(
  facedir
  main.cpp
  facedir.cpp
  stereo.cpp
  ransac.cpp
  ../read_video_2_0/options.cpp
  ../read_video_2_0/read_video_thread.cpp
  ../read_video_2_0/frame_header.cpp
  ../read_video_2_0/other_functions.cpp
  drawmodel.cpp
  pose3d.cpp
  view.cpp
  tracker.cpp
  model.cpp
  createmodel.cpp
  backup.cpp
  face_detect_vj.cpp
  basic_utils.cpp
  fitting.cpp
  SMATModel.cpp
  display.cpp
  utils_shape.cpp
  utils.cpp shape.cpp
  median.cpp
  cvfundam2.cpp
  AppearanceBase.cpp
  )
TARGET_LINK_LIBRARIES(
  facedir
  cxcore cv highgui
  gsl gslcblas
  libboost_thread-gcc42-mt.so
)
